/**
 * 全局配置文件
 */

export default {
  title: "技术中台",
  logo: "S",
  key: 'saber',//配置主键,目前用于存储
  indexTitle: '数字化综合服务平台',
  clientId: 'dis', // 客户端id
  clientSecret: 'saber_secret', // 客户端密钥
  tenantMode: true, // 是否开启租户模式
  tenantId: "000000", // 管理组租户编号
  captchaMode: true, // 是否开启验证码模式
  lockPage: '/lock',
  tokenTime: 3000,
  tokenHeader: 'Blade-Auth',
  //http的status默认放行列表
  statusWhiteList: [],
  //配置首页不可关闭
  isFirstPage: false,
  fistPage: {
    label: "首页",
    value: "/wel/index",
    params: {},
    query: {},
    meta: {
      i18n: 'dashboard',
      keepAlive:true
    },
    group: [],
    close: false,
    children:[]
  },
  //配置菜单的属性
  menu: {
    iconDefault: 'iconfont icon-caidan',
    props: {
      label: 'name',
      path: 'path',
      icon: 'source',
      children: 'children'
    }
  },
  // 第三方系统授权地址
  ishttps :'https:' == document.location.protocol ? true: false,
  authUrl: 'http://localhost/dis-auth/oauth/render',
  // 流程设计器地址
  flowDesignUrl: 'http://localhost:9999',
  // 报表设计器地址(cloud端口为8108,boot端口为80)
  reportUrl: 'http://localhost:8108/ureport',
  // scocket:'ws://192.168.11.40:8000/recognize',
  scocket:'https:' == document.location.protocol?'wss://data.e-zhaobiao.com.cn:17000/recognize':'ws://192.168.11.40:8000/recognize',
  //   ttsUrl:'http://192.168.11.40:58104/tts/',
  ttsUrl:'https:' == document.location.protocol?'https://data.e-zhaobiao.com.cn:17001/tts/':'http://192.168.11.40:58104/tts/',
  dialogType: "drawer",
  dialogDirection: "ltr",
  dialogWidth: "69%",
  pageOfficeUrl:encodeURI(document.location.protocol + '//' + window.location.hostname+':40003'),
  pageOfficeUrl_file:document.location.protocol + '//' + window.location.hostname+':40004',
  socketChat:'wss://www.kf.e-zhaobiao.com.cn/cs/ws/chat/customer',
  searchDownLoadFile:'http://192.168.11.122:28317/',
  kfAppID:'1294215683793842178',//客服APPID
  preViewIP:'https:' == document.location.protocol?'https://test.e-zhaobiao.com.cn:10000':'http://192.168.11.13:8888',//文档管理图片预览服务地址
  reviewIP:'https:' == document.location.protocol?'https://test.e-zhaobiao.com.cn:10000':'http://192.168.11.224:18884',//文档管理图片预览服务地址
}
